﻿using System;

namespace Borg
{
    public interface IInvoker : IDisposable
    {
        event InvokerUnexpectedExceptionEventHandler UnexpectedException;

        object Invoke(Delegate @delegate, params object[] @params);

        bool CheckAccess(Dispatcher dispatcher);
    }
}
